package rs.arm.letthemusicplay.utilities;

public class Constants {

	private Constants() {

	}

	public static final String INTENT_GET_PATH = "GetPath";
	public static final String INTENT_GET_FILE_NAME = "GetFileName";
	public static final String INTENT_START_FROM = "StartFrom";

	public static final String ACTIVITY_NAME_FILE_CHOOSER = "FileChooser";
	public static final String ACTIVITY_NAME_MAIN = "MainActivity";

	public static final String DIALOG_NAME_PLAYLIST_PICKER = "PlaylistPicker";

	public static final String FILE_EXTENSION_MP3 = "mp3";
	public static final String FILE_EXTENSION_WAV = "wav";
	public static final String FILE_EXTENSION_3GP = "3gp";
	public static final String FILE_EXTENSION_OGG = "ogg";
	public static final String FILE_EXTENSION_RAW = "raw";

	public static final String MSG_UPDATE_SEEKBAR = "SeekBarUpdate";
	public static final String MSG_UPDATE_DURATION_1 = "DurationUpdate1";
	public static final String MSG_UPDATE_DURATION_2 = "DurationUpdate2";
	public static final String MSG_UPDATE_SONG_TITLE = "SongTitleUpdate";
	public static final String MSG_UPDATE_STAR = "StarUpdate";
	public static final String MSG_UPDATE_FALSE = "false";
	public static final String MSG_UPDATE_TRUE = "true";

	public static final String CODE_UPDATE = "CODE";
	public static final String CODE_ACTION = "CODE_ACTION";

	public static final int SEND_UPDATE_SEEKBAR = 0;
	public static final int SEND_UPDATE_DURATION_1 = 1;
	public static final int SEND_UPDATE_DURATION_2 = 2;
	public static final int SEND_UPDATE_SONG_TITLE = 3;
	public static final int SEND_UPDATE_SONG_STAR = 4;
	public static final int SEND_UPDATE_STAR = 5;

	public static final String ACTION_ACTIVITY_TO_PLAYER_SERVICE = "rs.arm.letthemusicplay.MainActivity.ACTION_ACTIVITY";
	public static final String PLAYER_SERVICE_RESULT = "rs.arm.letthemusicplay.MediaPlayerService.SEND_UPDATE";
	
	public static final int ACTION_BTN_PLAY = 0;
	public static final int ACTION_BTN_PAUSE = 1;
	public static final int ACTION_BTN_NEXT = 2;
	public static final int ACTION_BTN_PREVIOUS = 3;
	public static final int ACTION_BTN_REPEAT = 4;
	public static final int ACTION_BTN_SHUFFLE = 5;
	public static final int ACTION_ADD_NEW_SONG = 6;
	public static final int ACTION_STAR_CLICKED = 7;
	public static final int ACTION_DRAW_STAR = 8;
	public static final int ACTION_PLAY_FAVORITES = 9;
	public static final int ACTION_REMOVE_FROM_PLAYLIST = 10;
	
	public static final String EXTRA_SONG_NAME = "SongName";
	public static final String EXTRA_SONG_NUMBER = "SongNumber";
	public static final String EXTRA_PLAY_LIST = "PlayList";
	
	public static final int ERROR_CODE = -1;
	
	public static final String FILE_NAME_FAVORITES = "favorites.txt";

}
